package com.itcast.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 套餐类型表
 * </p>
 *
 * @author author
 * @since 2024-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("setmeal_category")
@ApiModel(value="SetmealCategory对象", description="套餐类型表")
public class SetmealCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "套餐类型名称")
    @TableField("setmeal_category_name")
    private String setmealCategoryName;

    @ApiModelProperty(value = "套餐类型序号")
    @TableField("setmeal_category_sort_num")
    private Integer setmealCategorySortNum;

    @ApiModelProperty(value = "套餐类型状态 0 草稿 1启用 2禁用")
    @TableField("setmeal_category_status")
    private Integer setmealCategoryStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
